package com.sunxcloud.rabbitmq.controller;

import com.sunxcloud.common.core.producer.service.ProducerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ProducerController {

    @Autowired
    private ProducerService producerService;

    @GetMapping(value = "/send")
    public String send() {
        return producerService.send();
    }
}
